﻿using System;
namespace IFramework
{
    public class PoolObjBox 
    {
        private IPoolObj poolObj;
        private object objParent;
        private Type poolObjType;
        public IPoolObj PoolObj
        {
            get
            {
                return poolObj;
            }
        }
        public object ObjParent
        {
            get
            {
                return objParent;
            }
        }
        public Type PoolObjType
        {
            get
            {
                return poolObjType;
            }
        }

        public PoolObjBox(IPoolObj poolObj, object objParent,Type poolObjType)
        {
            SetValue(poolObj, objParent, poolObjType);
        }
        public void SetValue(IPoolObj poolObj, object objParent, Type poolObjType)
        {
            this.poolObj = poolObj;
            this.objParent = objParent;
            this.poolObjType = poolObjType;
        }
        public void SetPrent(object objParent)
        {
            this.objParent = objParent;
        }
    }
  
}